<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=640,target-densitydpi=device-dpi,maximum-scale=1.0, user-scalable=no">
		<title>index</title>
		<link rel="stylesheet" type="text/css" href="css/index.css" />
		<link rel="stylesheet" type="text/css" href="css/reset.css" />
	</head>

	<body>
		<div class="beijing">
			<div class="wenzi1">
				<img src="img/index/3.png"/>
			</div>
			<div class="wenzi2">
				<img src="img/index/2.png"/>
			</div>
			<div class="wenzi3">
				<img src="img/index/1.png"/>
			</div>
			<div class="xing1">
				<img src="img/index/4.png"/>
			</div>
			<div class="xing2">
				<img src="img/index/5.png"/>
			</div>
			<div class="xing3">
				<img src="img/index/6.png"/>
			</div>
			<div class="xing4">
				<img src="img/index/7.png"/>
			</div>
			<div class="jiantou">
				<img src="img/index/8.png"/>
			</div>
			<div class="jiantou1">
				<img src="img/index/8.png"/>
			</div>
			<audio src="music/Christmas.mp3" id="music"></audio>
		</div>
		
		<script type="text/javascript" src="js/jquery-2.1.0.js" ></script>
		<script src="http://res.wx.qq.com/open/js/jweixin-1.0.0.js"></script>
		
		<script>
			//自动播放
			function autoPlayAudio() {
				wx.config({
					// 配置信息, 即使不正确也能使用 wx.ready
					debug: false,
					appId: '',
					timestamp: 1,
					nonceStr: '',
					signature: '',
					jsApiList: []
				});
				wx.ready(function() {
					var globalAudio = document.getElementById("music");
					globalAudio.play();
				});
			};
			// 解决ios音乐不自动播放的问题
			autoPlayAudio();
			
			$(".beijing").click(function(){
				location.href = "page/game.html"
			})

			
		</script>
		
		
	</body>

</html>